FIND_PATH(LIBSSH2_INCLUDE_DIR libssh2.h)
FIND_LIBRARY(LIBSSH2_LIBRARY_RELEASE NAMES libssh2)
FIND_LIBRARY(LIBSSH2_LIBRARY_DEBUG NAMES libssh2D)
set(LIBSSH2_LIBRARY ${LIBSSH2_LIBRARY_RELEASE})
set(LIBSSH2_LIBRARIES optimized ${LIBSSH2_LIBRARY_RELEASE} debug ${LIBSSH2_LIBRARY_DEBUG})
if (LIBSSH2_INCLUDE_DIR AND LIBSSH2_LIBRARY)
  set(LIBSSH2_FOUND TRUE)
endif()
